package com.wyh.domain.dto.feemanagementdto;

import cn.hutool.core.date.DateTime;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PaymentRecord implements Serializable {

    @ApiModelProperty(value = "id", required = true)
    private Integer id;

    @ApiModelProperty(value = "账单id")
    private Integer billId;

    @ApiModelProperty(value = "收款时间")
    private DateTime collectionTime;

    @ApiModelProperty(value = "收款流水号")
    private String collectionNumber;

    @ApiModelProperty(value = "支付流水号")
    private String paymentNumber;

    @ApiModelProperty(value = "付款人")
    private String payer;

    @ApiModelProperty(value = "付款业主id")
    private Integer customerId;

    @ApiModelProperty(value = "付款方式id")
    private Integer paymentMethodId;

    @ApiModelProperty(value = "创建人id")
    private Integer userId;

    @ApiModelProperty(value = "收款状态")
    private Integer state;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "收款金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "核销金额")
    private BigDecimal usedAmount;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "是否使用完")
    private Integer useState;

    @ApiModelProperty(value = "是否手动认领")
    private Integer isClaim;

    @ApiModelProperty(value = "认领操作人")
    private Integer application;
}
